home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / language / harvest.cpt / Harvest C / Tcl 6.2 / CTclShell.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-04-14  |  612 b   |  28 lines

  1. /****
  2.  * CTclShell.h
  3.  *
  4.  *
  5.  ****/
  6.  
  7. #define    _H_CTclShell            /* Include this file only once */
  8. #include <CDocument.h>
  9. #include <CApplication.h>  
  10. #include "tcl.h"
  11.  
  12. struct CTclShell : CDocument {
  13.  
  14.     Tcl_Interp *myInterp;
  15.                                     /** Construction/Destruction **/
  16.                                         
  17.     void        ITclShell(CApplication *aSupervisor, Boolean printable);
  18.  
  19.     void        NewFile(void);
  20.     void        BuildWindow(Handle theData);
  21.  
  22.     virtual void Hprintf(char *,...);
  23.     virtual int Eval(char *cmd,int flags,char **termPtr);
  24.     virtual void Dispose();
  25.     virtual void UpdateMenus();
  26.     virtual Boolean Close(Boolean);
  27.  
  28. };